package com.imooc.bilibili.mapper.video;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.imooc.bilibili.domain.video.VideoCoin;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 视频硬币表 Mapper 接口
 * </p>
 *
 * @author gcq
 * @since 2022-06-04
 */
public interface VideoCoinMapper extends BaseMapper<VideoCoin> {

    /**
     * 查询硬币总数
     *
     * @param videoId
     * @return
     */
    Long selectAmountSumByVideoId(@Param("videoId") Long videoId);
}
